<template>
    <div>
      <div class="nav">
        <router-link to="/myshenzhi">
          <img @click="bian()" src="../../assets/lyl/image/tuijian/BMQD-1.png" alt="">
        </router-link>
        <p>神灯值明细</p>
      </div>

      <ul>
        <li v-for="item in data">
          <span>{{item.txt}}</span>
          <span>{{item.txt2}}</span>
        </li>
      </ul>

    </div>
</template>

<script>
    export default {
      name: "Mingxi",
      data(){
        return {
          data:[
            {txt:'邀请一位好友注册（18712340809）',txt2:'+10'},
            {txt:'邀请一位好友注册（18712340809）',txt2:'+10'},
            {txt:'邀请一位好友注册（18712340809）',txt2:'+10'}
          ]
        }
      }
    }
</script>

<style scoped>
  .nav{
    opacity: 0.8;
    width: 100%;
    background: #e53e42;
    padding: 3.5rem 0;
    display: flex;
    justify-content: center;
  }
  .nav a{
    position: absolute;
    left: 2rem;
    color: #fff;
    font-size: 34px;
  }
  .nav p{
    font-size: 34px;
    color:#fff;
  }
  ul li{
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ccc;
  }
  ul li span:nth-child(1){
    font-size: 28px;
    line-height: 36px;
  }
  ul li span:nth-child(2){
    font-size: 36px;
    line-height: 36px;
    color: #e53e42;
  }
</style>
